﻿
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ECItemSeleccionFinalizadoPanel.ascx.cs" 
Inherits="UILGestion.Control.ECItemSeleccionFinalizadoPanel" %>
<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc2" %>

           <asp:UpdatePanel ID="seleccionUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
          
               <asp:Panel ID="Panel1" runat="server" CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
               Seleccionar Recursos
                </asp:Panel>

               <asp:Panel ID="Panel2" runat="server"  class="ms-crm-Form-Body" Height="350px" >
                 <input id="idEstructuraCostoPartir" type="hidden"  runat="server" />
                               <input id="idRecursoPartirList" type="hidden"  runat="server" />
                               <input id="idRecursoAgrupado" type="hidden"  runat="server" />
                               <input id="idEstructuraCosto" type="hidden"  runat="server" />
                               <input id="simbolMoneda" type="hidden"  runat="server" />
                               

                               
<table  width="800px" >
            <tr>
                    <td align="right" width="600">
                        </td>
                    <td align="left" >
                        <table class="PanelTotales">
                        <tr > 
                         <td align="right" width="100px">
                             Total Seleccion:</td>
                         <td align="right" width="100px">

                             <asp:UpdatePanel ID="totalUpdatePanel" runat="server" UpdateMode="Conditional">
                             <ContentTemplate>
                                <asp:Label ID="TotalLabel" runat="server" Text="0.00"></asp:Label>
                             </ContentTemplate>
                             </asp:UpdatePanel>
                             
                    </td>
                 
                </tr>
                </table>

</td>                </tr>

            </table>
            
        <asp:Panel ID="Panel3" runat="server" Height="330px" ScrollBars="Vertical" BackColor="White" 
                       BorderColor="LightSteelBlue" BorderStyle="Solid" BorderWidth="1px"   >
              
                 
       <asp:GridView ID="itemGridView" 
       Runat="Server" 
       AutoGenerateColumns="false" 
       DataKeyNames="idInternal"  
            SkinID="GridView"
       CellPadding="4" >
 
                  <Columns>
    
    <asp:TemplateField ItemStyle-Width="1%">
                            <ItemTemplate >
                                <asp:CheckBox runat="server" ID="chkEmployeeSelector"  ClientIDMode="Static" 
                                 OnCheckedChanged="ItemSelectChange" AutoPostBack="true"/>
                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:CheckBox runat="server" ID="chkSelectAll" ClientIDMode="Static" 
                                 OnCheckedChanged="ItemAllSelectChange" AutoPostBack="true"/>
                            </HeaderTemplate>
                        </asp:TemplateField>

                <asp:BoundField DataField="comparativo" HeaderText="COMPARATIVO"   HeaderStyle-Width="95px" />
                <asp:BoundField DataField="codigo" HeaderText="CODIGO"   HeaderStyle-Width="50px" />
                <asp:BoundField DataField="descripcion" HeaderText="DESCRIPCION"   HeaderStyle-Width="400px" />
                <asp:BoundField DataField="unidad" HeaderText="UNID."  HeaderStyle-Width="35px"/>
                <asp:BoundField DataField="totalReUsoStr" HeaderText="TOTAL"  ItemStyle-Width="95px"  ItemStyle-BackColor="LightGoldenrodYellow" ItemStyle-HorizontalAlign="Right" />
                
               





                  </Columns>
                  </asp:GridView>
         </asp:Panel>  
</asp:Panel>
 
               
            </ContentTemplate>
           
            </asp:UpdatePanel>
          
    
          
    



          
    


